#include"Task.hpp"
#include<stdlib.h>
#include<iostream>
#include"ThreadPool.hpp"



int main()
{
    ThreadPool<Task> threadPool;
    threadPool.Start();
    srand(time(nullptr));
    while(1)
    {
        Task k(rand()%10+1,rand()%10+1,opers[rand()%5]);
        threadPool.Push(k);
        //leep(1);
    }
    threadPool.End();

    return 0;
}


